package com.wentao.thisService.mapper;

import java.util.*;
import com.wentao.thisService.model.*;
import org.apache.ibatis.annotations.Param;
import com.wentao.thisService.model.entities.IntResultEntity;
import com.wentao.thisService.model.entities.PageEntity;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@Repository
public interface AuthorityRoleDao {

	public List<AuthorityRoleEntity> Search(AuthorityRoleEntity entity);
    public List<AuthorityRoleEntity> SearchPage(@Param("entityItem") AuthorityRoleEntity entityItem, @Param("pageItem") PageEntity pageItem);
    public void Update(@Param("entityItem") AuthorityRoleEntity entity, @Param("valueItem") AuthorityRoleEntity val);
    public void Insert(AuthorityRoleEntity entity);
    
    public List<AuthorityRoleEntity> SearchAut(AuthorityRoleEntity entity);
    public List<AuthorityRoleEntity> SearchPageAut(@Param("entityItem") AuthorityRoleEntity entityItem, @Param("pageItem") PageEntity pageItem);
    public void UpdateAut(@Param("entityItem") AuthorityRoleEntity entity, @Param("valueItem") AuthorityRoleEntity val);
    
    public IntResultEntity Count(AuthorityRoleEntity entity);
    public IntResultEntity CountAut(AuthorityRoleEntity entity);
    
    
}